#ifndef YOUNGLOGON_H
#define YOUNGLOGON_H

#include <QDialog>
#include <QString>
#include <ActiveQt/QAxWidget>
#include <QResource>
#include <QFile>
#include "ui_DlgLogon.h"
namespace Ui {
class Dialog;
}

class DlgLogon : public QDialog
{
    Q_OBJECT
protected:
    void SetRoundRect();
    QPoint	m_MoveWindowPos; //实现鼠标拖动窗口
    bool    m_bMouseDown;
protected:
    void paintEvent(QPaintEvent *);
    void mousePressEvent(QMouseEvent *);
    void mouseMoveEvent(QMouseEvent *);
    void mouseReleaseEvent(QMouseEvent *);


public:
    explicit DlgLogon(QWidget *parent = 0);
    ~DlgLogon();
    
private slots:
    void on_BtnLogon_clicked();

private:
    Ui::Dialog *ui;
};

#endif // YOUNGLOGON_H
